package com.crm.system.service;

import com.crm.entity.SysDepartment;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface SysDepartmentService {
    int add(SysDepartment department);
    int remove(String id);
    PageInfo<SysDepartment> list(int pageIndex, int pageSize);

    SysDepartment get(String id);
    int save(SysDepartment department);
    List<String> idInfo(String depId);

}
